package com.lin.Generic;

import java.util.ArrayList;

public class da {
    public static void main(String[] args) {

        MyList<Integer> list=new MyList<>();
        list.add(88);
        int a=list.get(0);
        System.out.println(a);


        ArrayList<Student> s1=new ArrayList<>();
        test(s1);
        test2(s1);


    }

    public static void test(ArrayList<? extends People> people){

    }
    public static void test2(ArrayList<?> people){

    }
}
